package com.jt.mapper;

import com.jt.pojo.Rights;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RightsMapper {
    @Select("select *from rights  where parent_id=#{parentId}")
    List<Rights> findParentId(int parentId);

    List<Rights> findParentId1();
}
